﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace CastleDefenceGame
{
    public partial class Game1
    {
        public void SpawnEnemy(int hp, Vector2 position, int speed, int damage)
        {
            EnemyList.Add(new Enemy(hp, position, speed, damage));
            EnemyList[EnemyList.Count()-1].LoadContent(Content, "Enemy1");
        }
    }
}
